home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / chanfont / readme.txt < prev   
Text File  |  1999-06-22  |  3KB  |  47 lines

  1. The change font control makes it easy for your users to change to the font style, size, 
  2. or color on your form. Once the user has made his selection the control will then resize 
  3. the form and then resize and reposition all of the form's controls so that the original layout
  4. of the form is maintained.  If your application runs with the form maximized or if the user 
  5. maximizes the form the control will check to see if it can resize and reposition the controls 
  6. within the limits of the screen if resizing is possible then the controls are resized.
  7.  
  8. The control has one method ChangeFont which will bring up the common dialog box for changing 
  9. fonts. Useage: ChangeFont1.ChangeFont 
  10.  
  11. The control has one property show color which when set to true will enable the user to 
  12. change the color of the font. 
  13.  
  14. The control has one event FontChanged which fires after the font has been resized.  You can use
  15. this event to reset any of the controls font attributes that you want to retain control over.  
  16. For example your program specifications may require all labels display their text with the 
  17. bold attribute set to true.
  18.  
  19. Note that while the control is designed to resize controls without destroying the original form 
  20. layout if the form is maximized and the user changes the font it is possible for the original 
  21. layout to be destroyed.  You should always include code that will allow the user to restore the 
  22. original form.  I start my applications from sub main() in a standard module.  I then include 
  23. the following sub in the same standard module: 
  24. Public sub Restore(frm as form)
  25. Unload frm
  26. Frm.show
  27. End sub
  28.  
  29.  
  30. The Disclaimer: 
  31. THIS SOFTWARE IS PROVIDED BY Michael Du Bois (THE AUTHOR) ``AS IS'' AND ANY EXPRESS OR IMPLIED 
  32. WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  33. FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 
  34. INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 
  35. TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
  36. INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
  37. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 
  38. THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  39.  
  40.  
  41.  
  42. This control is shareware.  If you choose to keep and use this control in your applications the 
  43. cost is $20.00 (US).  Please remit check or money order to Michael Du Bois,
  44. 6342 Salado Rd. 
  45. St Augustine Fl 32084. 
  46. Comments, bug reports, or technical questions should be emailed to mikedb@aug.com.
  47.